package com.rn.ddd.infrastructure.engine;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Result
 *
 * @author 然诺
 * @date 2022/3/6
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    private boolean success;
    private String exCode;

    public Result(boolean success) {
        this.success = success;
    }

}
